Optimal. Leaf size=47 \[ -\frac{2 \sqrt{a-b x}}{\sqrt{x}}-2 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a-b x}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0163847, antiderivative size = 47, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {47, 63, 217, 203} \[ -\frac{2 \sqrt{a-b x}}{\sqrt{x}}-2 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a-b x}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 63
Rule 217
Rule 203
Rubi steps
\begin{align*} \int \frac{\sqrt{a-b x}}{x^{3/2}} \, dx &=-\frac{2 \sqrt{a-b x}}{\sqrt{x}}-b \int \frac{1}{\sqrt{x} \sqrt{a-b x}} \, dx\\ &=-\frac{2 \sqrt{a-b x}}{\sqrt{x}}-(2 b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a-b x^2}} \, dx,x,\sqrt{x}\right )\\ &=-\frac{2 \sqrt{a-b x}}{\sqrt{x}}-(2 b) \operatorname{Subst}\left (\int \frac{1}{1+b x^2} \, dx,x,\frac{\sqrt{x}}{\sqrt{a-b x}}\right )\\ &=-\frac{2 \sqrt{a-b x}}{\sqrt{x}}-2 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a-b x}}\right )\\ \end{align*}
Mathematica [A] time = 0.0620808, size = 69, normalized size = 1.47 \[ -\frac{2 \left (\sqrt{a} \sqrt{b} \sqrt{x} \sqrt{1-\frac{b x}{a}} \sin ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )+a-b x\right )}{\sqrt{x} \sqrt{a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.02, size = 66, normalized size = 1.4 \begin{align*} -2\,{\frac{\sqrt{-bx+a}}{\sqrt{x}}}-{\sqrt{b}\arctan \left ({\sqrt{b} \left ( x-{\frac{a}{2\,b}} \right ){\frac{1}{\sqrt{-b{x}^{2}+ax}}}} \right ) \sqrt{x \left ( -bx+a \right ) }{\frac{1}{\sqrt{x}}}{\frac{1}{\sqrt{-bx+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.66598, size = 246, normalized size = 5.23 \begin{align*} \left [\frac{\sqrt{-b} x \log \left (-2 \, b x + 2 \, \sqrt{-b x + a} \sqrt{-b} \sqrt{x} + a\right ) - 2 \, \sqrt{-b x + a} \sqrt{x}}{x}, \frac{2 \,{\left (\sqrt{b} x \arctan \left (\frac{\sqrt{-b x + a}}{\sqrt{b} \sqrt{x}}\right ) - \sqrt{-b x + a} \sqrt{x}\right )}}{x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.82019, size = 150, normalized size = 3.19 \begin{align*} \begin{cases} \frac{2 i \sqrt{a}}{\sqrt{x} \sqrt{-1 + \frac{b x}{a}}} + 2 i \sqrt{b} \operatorname{acosh}{\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}} \right )} - \frac{2 i b \sqrt{x}}{\sqrt{a} \sqrt{-1 + \frac{b x}{a}}} & \text{for}\: \frac{\left |{b x}\right |}{\left |{a}\right |} > 1 \\- \frac{2 \sqrt{a}}{\sqrt{x} \sqrt{1 - \frac{b x}{a}}} - 2 \sqrt{b} \operatorname{asin}{\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}} \right )} + \frac{2 b \sqrt{x}}{\sqrt{a} \sqrt{1 - \frac{b x}{a}}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]